package cn.ghostman.app.pager;

import android.content.Context;
import android.graphics.Color;
import android.view.Gravity;
import android.view.View;
import android.widget.TextView;
import cn.ghostman.app.base.BasePager;
import com.apkfuns.logutils.LogUtils;

/**
 * 网络音频
 *
 * @author 周朋波
 * @since 2017-04-19
 */
public class NetAudioPager extends BasePager {

    private TextView tv;

    public NetAudioPager(Context context) {
        super(context);
    }

    @Override
    protected View initView() {
        tv = new TextView(context);
        tv.setTextSize(30);
        tv.setGravity(Gravity.CENTER);
        tv.setTextColor(Color.RED);

        return tv;
    }

    @Override
    protected void initData() {
        LogUtils.i("网络音频-数据-初始化");
        tv.setText("网络音频");
    }
}
